<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_title" data-rule="required" class="form-control" name="row[house_title]" type="text" value="{$row.house_title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lat" data-rule="required" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lng" data-rule="required" class="form-control" name="row[lng]" type="text" value="{$row.lng|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-province" data-rule="required" class="form-control" name="row[province]" type="text" value="{$row.province|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Province_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-province_id" data-rule="required" data-source="province/index" class="form-control selectpage" name="row[province_id]" type="text" value="{$row.province_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-city" data-rule="required" class="form-control" data-toggle="city-picker" name="row[city]" type="text" value="{$row.city|htmlentities}"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('City_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-city_id" data-rule="required" data-source="city/index" class="form-control selectpage" name="row[city_id]" type="text" value="{$row.city_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_number" data-rule="required" class="form-control" name="row[house_number]" type="text" value="{$row.house_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Area')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-area" data-rule="required" class="form-control" name="row[area]" type="number" value="{$row.area|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Community')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-community" data-rule="required" class="form-control" name="row[community]" type="text" value="{$row.community|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_attr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_attr" data-rule="required" class="form-control" name="row[house_attr]" type="number" value="{$row.house_attr|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bedroom_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bedroom_num" data-rule="required" class="form-control" name="row[bedroom_num]" type="number" value="{$row.bedroom_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Livingroom_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-livingroom_num" data-rule="required" class="form-control" name="row[livingroom_num]" type="number" value="{$row.livingroom_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kitchen_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kitchen_num" data-rule="required" class="form-control" name="row[kitchen_num]" type="number" value="{$row.kitchen_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bathroom_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bathroom_num" data-rule="required" class="form-control" name="row[bathroom_num]" type="number" value="{$row.bathroom_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_type_id" data-rule="required" data-source="house/type/index" class="form-control selectpage" name="row[house_type_id]" type="text" value="{$row.house_type_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_property_cert_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_property_cert_img" data-rule="required" class="form-control" name="row[house_property_cert_img]" type="text" value="{$row.house_property_cert_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_contract_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchase_contract_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[purchase_contract_time]" type="text" value="{$row.purchase_contract_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_contract_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchase_contract_img" data-rule="required" class="form-control" name="row[purchase_contract_img]" type="text" value="{$row.purchase_contract_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Evaluation_report_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-evaluation_report_img" data-rule="required" class="form-control" name="row[evaluation_report_img]" type="text" value="{$row.evaluation_report_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Renovation_contract_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-renovation_contract_img" data-rule="required" class="form-control" name="row[renovation_contract_img]" type="text" value="{$row.renovation_contract_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Renovation_contract_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-renovation_contract_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[renovation_contract_time]" type="text" value="{$row.renovation_contract_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Insurance_contract_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-insurance_contract_img" data-rule="required" class="form-control" name="row[insurance_contract_img]" type="text" value="{$row.insurance_contract_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Insurance_contract_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-insurance_contract_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[insurance_contract_time]" type="text" value="{$row.insurance_contract_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Unit_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-unit_price" data-rule="required" class="form-control" step="0.01" name="row[unit_price]" type="number" value="{$row.unit_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_area')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_area" data-rule="required" class="form-control" name="row[total_area]" type="number" value="{$row.total_area|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_price" data-rule="required" class="form-control" step="0.01" name="row[total_price]" type="number" value="{$row.total_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Decorate_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-decorate_price" data-rule="required" class="form-control" step="0.01" name="row[decorate_price]" type="number" value="{$row.decorate_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Average_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-average_price" data-rule="required" class="form-control" step="0.01" name="row[average_price]" type="number" value="{$row.average_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_insurance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_insurance" data-rule="required" class="form-control" name="row[is_insurance]" type="number" value="{$row.is_insurance|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_level" data-rule="required" class="form-control" name="row[house_level]" type="number" value="{$row.house_level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hotel_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hotel_level" data-rule="required" class="form-control" name="row[hotel_level]" type="number" value="{$row.hotel_level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bed_index')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bed_index" data-rule="required" class="form-control" name="row[bed_index]" type="text" value="{$row.bed_index|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bed_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bed_num" data-rule="required" class="form-control" name="row[bed_num]" type="number" value="{$row.bed_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bed_limit_people_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bed_limit_people_num" data-rule="required" class="form-control" name="row[bed_limit_people_num]" type="number" value="{$row.bed_limit_people_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mode" data-rule="required" class="form-control" name="row[mode]" type="text" value="{$row.mode|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Live_start_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-live_start_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[live_start_date]" type="text" value="{$row.live_start_date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Live_end_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-live_end_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[live_end_date]" type="text" value="{$row.live_end_date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_facilities_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_facilities_id" data-rule="required" data-source="house/facilities/index" class="form-control selectpage" name="row[house_facilities_id]" type="text" value="{$row.house_facilities_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Min_live_day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-min_live_day" data-rule="required" class="form-control" name="row[min_live_day]" type="number" value="{$row.min_live_day|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Max_live_day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-max_live_day" data-rule="required" class="form-control" name="row[max_live_day]" type="number" value="{$row.max_live_day|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Live_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-live_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[live_time]" type="text" value="{:$row.live_time?datetime($row.live_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leave_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leave_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[leave_time]" type="text" value="{:$row.leave_time?datetime($row.leave_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[receive_time]" type="text" value="{:$row.receive_time?datetime($row.receive_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sheet_change')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sheet_change" data-rule="required" class="form-control" name="row[sheet_change]" type="text" value="{$row.sheet_change|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Clean')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clean" data-rule="required" class="form-control" name="row[clean]" type="text" value="{$row.clean|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_weekday_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-share_weekday_price" data-rule="required" class="form-control" step="0.01" name="row[share_weekday_price]" type="number" value="{$row.share_weekday_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_weekend_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-share_weekend_price" data-rule="required" class="form-control" step="0.01" name="row[share_weekend_price]" type="number" value="{$row.share_weekend_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_highday_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-share_highday_price" data-rule="required" class="form-control" step="0.01" name="row[share_highday_price]" type="number" value="{$row.share_highday_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stay_discount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stay_discount" data-rule="required" class="form-control" name="row[stay_discount]" type="text" value="{$row.stay_discount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_weekday_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_weekday_price" data-rule="required" class="form-control" name="row[group_weekday_price]" type="text" value="{$row.group_weekday_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_weekend_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_weekend_price" data-rule="required" class="form-control" name="row[group_weekend_price]" type="text" value="{$row.group_weekend_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_highday_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_highday_price" data-rule="required" class="form-control" name="row[group_highday_price]" type="text" value="{$row.group_highday_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_stay_discount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_stay_discount" data-rule="required" class="form-control" name="row[group_stay_discount]" type="text" value="{$row.group_stay_discount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_group')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_group" data-rule="required" class="form-control" name="row[is_group]" type="number" value="{$row.is_group|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zan_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zan_num" data-rule="required" class="form-control" name="row[zan_num]" type="number" value="{$row.zan_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Collect_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-collect_num" data-rule="required" class="form-control" name="row[collect_num]" type="number" value="{$row.collect_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Repost_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-repost_num" data-rule="required" class="form-control" name="row[repost_num]" type="number" value="{$row.repost_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comment_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comment_num" data-rule="required" class="form-control" name="row[comment_num]" type="number" value="{$row.comment_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_recommend')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_recommend" data-rule="required" class="form-control" name="row[is_recommend]" type="number" value="{$row.is_recommend|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score" data-rule="required" class="form-control" name="row[score]" type="number" value="{$row.score|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Describe_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-describe_score" data-rule="required" class="form-control" name="row[describe_score]" type="number" value="{$row.describe_score|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Location_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-location_score" data-rule="required" class="form-control" name="row[location_score]" type="number" value="{$row.location_score|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Convenient_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-convenient_score" data-rule="required" class="form-control" name="row[convenient_score]" type="number" value="{$row.convenient_score|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_score" data-rule="required" class="form-control" name="row[service_score]" type="number" value="{$row.service_score|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Health_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-health_score" data-rule="required" class="form-control" name="row[health_score]" type="number" value="{$row.health_score|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cost_performance_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cost_performance_score" data-rule="required" class="form-control" name="row[cost_performance_score]" type="number" value="{$row.cost_performance_score|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
